package com.demo.service;

import com.demo.entity.Ads;
import com.demo.vo.AdsVo;

import java.util.List;

/**
 * Created by byte2 on 2017-03-28.
 */

public interface IAdsService {
    int deleteByPrimaryKey(Integer id);

    int insert(Ads record);

    int insertSelective(Ads record);

    Ads selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Ads record);

    int updateByPrimaryKey(Ads record);

    List<Ads> selectAll(AdsVo arg);
    List<Ads> queryByPage(AdsVo asv);
    int queryCount(AdsVo asv);
}
